package {
	   import display3D.objet3D.Porte;
	
	import flash.events.Event;
	import flash.utils.Dictionary;
	
	import parserXML.XmlLinkRoom;

	   public class TransitionPorteEvent extends Event {
		      public static const TRANSITION_PORTE:String = "TRANSITION_PORTE";
		      public var dicPorte:Dictionary;
			  public var xmlLinkRoom:XmlLinkRoom;
		      public function CustomEvent(type:String, dicPorte:=null, xmlLinkRoom=null,
										                                    bubbles:Boolean=false,
																			                                  cancelable:Boolean=false) {
			         super(type, bubbles, cancelable);
			         this.dicPorte = dicPorte;
					this.xmlLinkRoom = xmlLinkRoom;
		      }
		      public override function clone():Event {
			         return new CustomEvent(type, dicPorte,xmlLinkRoom, bubbles, cancelable);
		      }
		      public override function toString():String {
			         return formatToString("CustomEvent", "type", "arg",
				                               "bubbles", "cancelable", "eventPhase");
		      }
	   }
}